package com.yongan.purchase.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yongan.purchase.entity.PurchaseIn;

public interface PurchaseInDao {
	
	PurchaseIn queryById(String purchaseInId);
	
	List<PurchaseIn> queryAll(@Param("offset")int offset,@Param("limit")int limit);
	
	int insertPurchaseIn(PurchaseIn purchasein);
	
	int deletePurchaseIn(String purchaseInId);
	
	int updatePurchaseIn(PurchaseIn purchasein);
	
	int queryCount();

}
